package tools;

public class API {
	  public static final String IP="http://192.168.0.164:8080/";
	    private static final String BASE="http://192.168.0.164:8080/api/";

	    public static final String DOWNPATH="https://cdcdec.github.io/medias/code.mp4";

	    
	    public static final String PERSON(){
	        return BASE+"personBoth";
	    }
	    
	    public static final String PERSON(int id){
	        return BASE+"person/"+id;
	    }

	    public static final String PERSONS(){
	        return BASE+"persons";
	    }
	    
	    public static final String PERSON_ORIGIN(int id){
	        return BASE+"person?id="+id;
	    }

	    public static final String UPPERSON(){
	        return BASE+"upPerson";
	    }

	    public static final String UPLOAD(){
	        return BASE+"upload";
	    }

	    public static final String UPLOADS(){
	        return BASE+"uploads";
	    }

}
